#ifndef MIDNIGHTMAP_H
#define MIDNIGHTMAP_H

#include <cyber/Export.h>
#include <osgEarth/MapNode>
#include <osgEarth/VirtualProgram>

class CB_API MidNightMap
{
public:
	MidNightMap();

    inline void setMapNode(osgEarth::MapNode * mn){_mapNode = mn;}

    void setEnable(bool);

    void close();

protected:
    osgEarth::MapNode * _mapNode;
    osgEarth::VirtualProgram* _terrainVP;
};

#endif // MIDNIGHTMAP_H
